<?php
$baseURL =  'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER["SCRIPT_NAME"]);
define('SITE_BASE_URL', $baseURL);
//JPER CMS 用户信息在redis中的存活时间
define("JPER_CMS_REDIS_USERINFO_TIMEOUT",3600*24);
//存储
define("CDN_PATH","/data0/dk/cdn/host");
define("CDN_TMP_PATH","/data0/dk/cdn/host/tmp");
define("CDN_HOST","https://s-js.sports.cctv.com/host");

//db master default
define("DB_MASTER_DB_NAME","host");
define("DB_MASTER_HOST","10.77.68.129");
define("DB_MASTER_PORT","3306");
define("DB_MASTER_USER","root");
define("DB_MASTER_PASSWORD","Esdi2018iCntv");
define("DB_MASTER_DB_PREFIX",'host_');


//redis配置
define("REDIS_HOST","10.77.68.132");
define("REDIS_PORT","6379");
define("REDIS_PASSWD","");
define("REDIS_TIMEOUT",2);
define("REDIS_PREFIX","HOST_");

//二维码链接
define("dub","pages/rank/rank");
define("web","pages/commend/commend");

define("QRCODE_API","https://a-js.sports.cctv.com/host/api/poster_qrcode.php");
